Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

The Decompression Capabilities Structure

Your image decompressor component uses the decompression capabilities structure to report its capabilities to the base image decompressor.

struct ImageSubCodecDecompressCapabilities
{
    long recordSize; /* size of this record */
    long decompressRecordSize; /* size of decompress record */
    Boolean canAsync; /* true if supports asynch decompression */
};
typedef struct ImageSubCodecDecompressCapabilities ImageSubCodecDecompressCapabilities;
recordSize
The size of this ImageSubCodecDecompressCapabilities structure, in bytes.

decompressRecordSize
The size of the ImageSubCodecDecompressRecord structure that your image decompressor component requires. This structure is used to pass information from the ImageCodecBeginBand function to the ImageCodecDrawBand and ImageCodecEndBand functions.

canAsync
Specifies whether your image decompressor component can perform asynchronous scheduled decompression. This should be true unless your image decompressor component calls functions that cannot be called during interrupt time.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |